package com.zhou.common.mybatis.template.shiro.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.zhou.common.lib.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

/**
 * <p>
 * 菜单权限表
 * </p>
 *
 * @author zxf
 * @since 2023-02-27
 */
@Getter
@Setter
@TableName("sys_menu")
@ApiModel(value = "SysMenu对象", description = "菜单权限表")
public class SysMenu extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "菜单名称", position = 2)
    private String menuName;

    @ApiModelProperty(value = "父菜单ID", position = 3)
    private Long parentId;

    @ApiModelProperty(value = "显示顺序", position = 4)
    private Integer orderNum;

    @ApiModelProperty(value = "请求地址", position = 5)
    private String url;

    @ApiModelProperty(value = "打开方式（menuItem页签 menuBlank新窗口）", position = 6)
    private String target;

    @ApiModelProperty(value = "菜单类型（M目录 C菜单 F按钮）", position = 7)
    private String menuType;

    @ApiModelProperty(value = "菜单状态（0显示 1隐藏）", position = 8)
    private String visible;

    @ApiModelProperty(value = "是否刷新（0刷新 1不刷新）", position = 9)
    private String isRefresh;

    @ApiModelProperty(value = "权限标识", position = 10)
    private String perms;

    @ApiModelProperty(value = "菜单图标", position = 11)
    private String icon;

    @ApiModelProperty(value = "创建者", position = 12)
    private String createBy;

    @ApiModelProperty(value = "创建时间", position = 13)
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新者", position = 14)
    private String updateBy;

    @ApiModelProperty(value = "更新时间", position = 15)
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "备注", position = 16)
    private String remark;


}
